package com.whnk.pm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whnk.common.base.BaseEntity;

/**
 * 供应商基本表 pm_comp_info
 * 
 * @author whwhnk
 * @date 2019-07-08
 */
public class CompInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer compId;
	/** 供应商编号 */
	private String compSn;
	/** 供应商名称 */
	private String compNm;
	/** 注册号 */
	private String compRegSn;
	/** 统一社会信用代码 */
	private String compCredSn;

	public void setCompId(Integer compId) 
	{
		this.compId = compId;
	}

	public Integer getCompId() 
	{
		return compId;
	}
	public void setCompSn(String compSn) 
	{
		this.compSn = compSn;
	}

	public String getCompSn() 
	{
		return compSn;
	}
	public void setCompNm(String compNm) 
	{
		this.compNm = compNm;
	}

	public String getCompNm() 
	{
		return compNm;
	}
	public void setCompRegSn(String compRegSn) 
	{
		this.compRegSn = compRegSn;
	}

	public String getCompRegSn() 
	{
		return compRegSn;
	}
	public void setCompCredSn(String compCredSn) 
	{
		this.compCredSn = compCredSn;
	}

	public String getCompCredSn() 
	{
		return compCredSn;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("compId", getCompId())
            .append("compSn", getCompSn())
            .append("compNm", getCompNm())
            .append("compRegSn", getCompRegSn())
            .append("compCredSn", getCompCredSn())
            .toString();
    }
}
